<!DOCTYPE html>

<!-- BEGIN HEAD-->
<?php
require_once("Admin/template/header.php");
?>
<!-- END  HEAD-->

<!-- BEGIN BODY-->
<body class="padTop53 ">

<!-- MAIN WRAPPER -->
<div id="wrap">


    <!-- HEADER SECTION (BCORD ADMIN)  Top-->
    <?php
    require_once "Admin/template/top.php";
    ?>
    <!-- END HEADER SECTION (BCORD ADMIN)  Top-->


    <!-- MENU SECTION （Left Menu）-->
    <?php
    require_once("Admin/template/left.php");
    ?>
    <!--END MENU SECTION （Left Menu）-->


    <!--PAGE CONTENT -->
    <div id="content">

        <div class="inner" style="min-height:1200px;">
            <div class="row">
                <div class="col-lg-12">
                    <!--Input Content -->
                    <h3><center>添加用户</center></h3>
                    <div class="container-fluid col-md-offset-2 col-md-8 ">
                        <form method=post action="admin.php?c=user&m=add" enctype="multipart/form-data">
                            <table class="table">
                                <tr>
                                    <td>姓名：</td>
                                    <td><input type="text" name="username" class="form-control" required></td>
                                </tr>
                                <tr>
                                    <td>密码：</td>
                                    <td><input type="password" name="password" class="form-control" required></td>
                                </tr>
                                <tr>
                                    <td>性别：</td>
                                    <td>
                                        <input type="radio" name="gender" value=0 checked>男
                                        <input type="radio" name="gender" value=1>女
                                    </td>
                                </tr>
                                <tr>
                                    <td>生日：</td>
                                    <td><input class="form-control" type="date" name="birthdate">
                                    </td>
                                </tr>
                                <tr>
                                    <td>爱好：</td>
                                    <td>
                                        <input type="checkbox" name="hobby[]" value="旅游" checked>旅游
                                        <input type="checkbox" name="hobby[]" value="登山" checked>登山
                                        <input type="checkbox" name="hobby[]" value="健身">健身
                                        <input type="checkbox" name="hobby[]" value="上网">上网
                                        <input type="checkbox" name="hobby[]" value="游泳">游泳
                                    </td>
                                </tr>
                                <tr>
                                    <td>学历：</td>
                                    <td>
                                        <select class="form-control" name="degree">
                                            <option value="0">请选择</option>
                                            <option value="1">高中</option>
                                            <option value="2">大学</option>
                                            <option value="3">研究生</option>
                                            <option value="4">博士生</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td>自我介绍</td>
                                    <td>
                                        <textarea class="form-control" name="intro">自我简介：</textarea>
                                    </td>
                                </tr>
                                <tr>
                                    <td>头像</td>
                                    <td>
                                        <input type="file" name="pic">
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <input type="submit" value="提交" class="btn btn-primary">
                                        <input type="reset" value="重置" class="btn btn-primary">
                                    </td>
                                </tr>
                            </table>
                    </div>
                    <!--End Input Content-->

                </div>
            </div>

            <hr/>


        </div>


    </div>
    <!--END PAGE CONTENT -->


</div>

<!--END MAIN WRAPPER -->

<!-- FOOTER -->
<?php
require_once "Admin/template/footer.php";
?>
<!--END FOOTER -->

</body>
<!-- END BODY-->

</html>
